package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Administrator
 */
@ApiModel(value = "登陆返回信息")
@Data
@Builder
public class HomeLoginResponse implements Serializable {
    @ApiModelProperty("登陆标识")
    private String token;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("用户姓名")
    private String userName;
    @ApiModelProperty("头像地址")
    private String avatarUrl;
    @ApiModelProperty("是否是boss")
    private Integer roleId;
    @ApiModelProperty("oss路径")
    private String ossUrl;
    @ApiModelProperty("手机号码")
    private String phone;
    @ApiModelProperty("名片ID")
    private Integer cardId;
    @ApiModelProperty("公司名称")
    private String companyName;
    @ApiModelProperty("0普通公司 1代理商")
    private Integer isAgent;

    @ApiModelProperty("是否手机号授权, 1需要验证")
    private Integer authPhone;
    @ApiModelProperty("是否微信授权, 1需要验证")
    private Integer authWx;
    @ApiModelProperty("0审核中 1审核通过 2审核不通过或未创建名片")
    private Integer auditPass;
    @ApiModelProperty("审核提示文案")
    private String auditPassMsg;

    @ApiModelProperty("IM用户ID")
    private String chatUserId;
    @ApiModelProperty("IM用户密码")
    private String chatPassword;
}
